<?php
class VekaTheorieModule {
  
	// Properties:
	private	$Type;
	private $Omschrijving;
	private $Uren;
	private $Prijs;
	
	
	// Methods:

	/**
	 * void __construct ()
	 * This is the constructor method for the User class.
	 */
	public function __construct() {
   	}
   	
  public function VekaTheorieModule(array $atts=NULL) {
		$this->ConstructFromArray($atts);
	}
	
	public function getType() {
	  return $this->Type;
	}

	public function setType($newVal) {
		$this->Type = $newVal;
	}
	
	public function getOmschrijving() {
		return $this->Omschrijving;
	}
	
	public function setOmschrijving($newVal) {
		$this->Omschrijving = $newVal;
	}
	
	public function getUren() {
		return $this->Uren;
	}
	
	public function setUren($newVal) {
		$this->Uren = $newVal;
	}
	
	public function getPrijs() {
		return $this->Prijs;
	}
	
	public function setPrijs($newVal) {
		$this->Prijs = $newVal;
	}		

	/**
	 * void ConstructFromArray ([array attributes])
	 * This method, if an array is given as the argument, will
	 * create properties in the current object named after the
	 * keys of the array, and set the properties to the corresponding
	 * values from the array.
	 */
	private function ConstructFromArray (array $atts=NULL) {
		if (is_array($atts)) {
			while (list($key, $value) = each($atts)) {
				$this->$key = $value;
			}
		}
	}

	public function __destruct() {
//		global $logger;
//    	$logger->log("Destroying VekaTheorieCursus " . $this->__toString() . "!\n",PEAR_LOG_INFO);
   	}
   	
   	public function __toString() {
        return $this->Type;
    }
}
?>
